package com.hk.webapp.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class SysActionVo {
    private Integer parent_id;
    /// <summary>
    /// 菜单/权限名称
    /// </summary>
    @NotBlank(message = "请输入名称")
    private String action_name;
    /// <summary>
    /// 访问链接
    /// </summary>
    private String url;
    /// <summary>
    /// 请求方式 get / post
    /// </summary>
    private String http_method = "get";
    /// <summary>
    /// 权重
    /// </summary>
    private Integer weight = 30;
    /// <summary>
    /// 类型 0操作权限 1系统菜单
    /// </summary>
    private Integer action_type_enum = 1;
    /// <summary>
    /// 图标代码
    /// </summary>
    private String icon_url;
}
